-
-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a shortcut to actionRefreshSelected action #145
Conversation
Since that action is also available from the menu, there was always a key combination to invoke it:
(Menu File -> Refresh Selected) |
Indded ... but you could say that for all the shortcuts you've added in the app; so in that case, what's the point of a shortkey when you can access all actions from the menu ? So except if you do not consider that "Refresh selected" is not a common used action, I don't see why you seems to be reluctant to adding a shortcut to this action. This will not prevent users that are used to do |
I wouldn't like to have to maintain a fork of QDirStat only for the add of a simple shortkey :( |
Honestly, I am not very happy with using
Please explain your use case. |
I am really curious. How are you using QDirStat that makes you want to use that "Refresh Selected" action so often that you wish you had that keyboard shortcut for it? Maybe I overlooked a common use case. |
Thanks for your detailed answer, and sorry for the last reply, I live in France, and there's a quite big time time difference !
I do not really agree with your assumption "Plain Refresh (
In that cases, refreshing only a branch is vital (but that's not the purpose here)
Indeed, this is totally right. My typical case is using
I totally understand and agree on this point !
Indeed
My use case is:
But, as I explained above, I do not want the refresh to be done automatically as I sometimes work on network mounted volumes with deep trees and refreshing could take a lot of time. UpdateI just thought of a workaround to satisfy my personal needs: I can define a So I think I'll be happy with this workaround :) Thanks a lot for your time, and sorry for it ! |
OK, thanks for coming back for this. 2:30 min for re-scanning a home directory that is now already cached in the kernel is pretty long. I made benchmarks some time ago, and back then my problem had been that re-scans from hot caches are so quick that it's hard to measure any meaningful difference: #97 That was 1.5 seconds for cached values for a 230 GB / 216000 items filesystem compared to about 25 seconds from dropped caches. sshfs via fuse is another matter; it does not surprise me at all that this is slow. In that use case, maybe try experimenting with cache files; create them on the remote machine and copy them to your local workstation? See https://github.com/shundhammer/qdirstat/blob/master/doc/QDirStat-for-Servers.md |
Please try the lastest commit: 2647f7c See also https://github.com/shundhammer/qdirstat#latest-news It's now on |
As for cleanup hotkeys: It's not accessible from the GUI, but you can add a line like Hotkey=Ctrl+R to any of them. Check out the existing ones in your |
Super usefull ! Thank you very much. This totally cover my use case 👍 |
Slightly related to #136 Thanks :-D |
In brief, for anyone that comes here and don't want to read the whole story:
Add to [Cleanup_14]
Active=true
AskForConfirmation=false
Command=0
OutputWindowAutoClose=false
OutputWindowPolicy=ShowNever
Recurse=false
RefreshPolicy=RefreshThis
Title=Refresh current
WorksForDir=true
WorksForDotEntry=false
WorksForFile=true
Hotkey=Ctrl+R ⚠ Adapt the action number ( |
There is |
Thanks a lot @shundhammer But I'm was installing Qdirstat for a friend using Ubuntu and the v1.7.1 isn't available for now in Ubuntu 20.04 LTS |
Unfortunately, you have to compile it yourself. @shundhammer is against even trying to commit packaging code |
Hi,
Blabla
I just discovered QDirStat and I've to say that I'm super happy about this ! This is amazing, more or less exactly the tool I was dreaming of 💖 So; thank you a lot for this (just bought you a beer via the support link)
Actual PR comment
I love using keyboard and leaving touchpad away. This was almost possible due to the wonderful work you did on the UI. But I (only) missed one super-usefull shortcut to refresh selected folder.
Here it is.